import Vue from 'vue'
import App from './App.vue'
import router from './router'
import 'bootstrap/dist/css/bootstrap.css'

Vue.config.productionTip = false

new Vue({
  router,
  // render: h => h(App)
  /* render(createElement) {
    return createElement('h1', '博为峰');
  } */
  render: h => h(App)
  // template:'<h1>博为峰</h1>',
}).$mount('#app')

/*
  import Vue from 'vue'
  "module": "dist/vue.runtime.esm.js"  不包含模板解析器

  import Vue from 'vue/dist/vue.js' 包含模板解析器

   You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.


*/
